
body,ul,li,a{
    padding: 0;
    margin: 0;

}
/*全局的css定义*/
.inline-block{
    display: inline-block;
}
.tag-style{
    background-color: #2d578d;
    color: white;
    border-radius: 3px;
}
#art_title{
    width: 100%;
    font-size: 1.5em;
    line-height: 1.5em;

}
#chooseAlbums{
    margin: 0px;
    padding-left: 0px;
}

#choice_albums{
    outline: none;
    border: none;
    font-size: 1em;
    line-height: 1.5em;
}

#albums{
    margin: 5px 0px;
    width: 100%;
    border: gray solid 1px;
}
.editor_header{
    background: #2d578d;
    height: 50px;
    line-height: 50px;
    color: white;
    font-size: 2em;
}


/*这里是album输入相关css*/
#albumList{
    margin: 0 0px;
    display: none;
    background-color:ghostwhite;
    width: 150px;
    position:absolute;
    z-index:3;
    padding-left: 0px;
    border: gray 1px solid;
}
.data-li{
    text-align: center;
    margin: 0 0px;
    line-height: 1.3em;
    display: block;
    text-decoration: none;
    /*background-color: #3489c5;*/
    color: black;
    padding: 0 5px;
    list-style-type:none
}
.data-li:hover{
    background-color: #2d578d;
    color: white;
    font-weight: 500;
    padding: 0 5px;
}


#tags{
    margin: 5px 0px;
    width: 100%;
    border: gray solid 1px;
}


#tag_input{
    font-size: 1em;
    line-height: 1.5em;
    outline: none;
    border: none;
}
#tagDataList{
    margin: 0 0px;
    display: none;
    background-color:ghostwhite;
    width: 150px;
    position:absolute;
    z-index:3;
    padding-left: 0px;
    border: gray 1px solid;
}

#choiced_tag{
    padding-left: 0px;
    margin: 0px;
    display: inline-block;
}

#addTagButton{
    margin: 0 0px;
    display: none;
    background-color: ghostwhite;
    width: 150px;
    position: absolute;
    z-index: 3;
    padding-left: 0px;
    border: gray 1px solid;

}
/*##########################################################*/
/*md编辑器样式*/

#editor{
    margin: 0 auto;
    clear: both;
}

#e_head{
    border:1px gray solid;
    height: 30px;
    /*background-color: #777777;*/
    width: 100%;

}

.editor_icon{
    margin: 0 3px;
    line-height: 30px;
    background-color: #98a4c3;
    border-radius: 4px;
    color: black;
}
.editor_icon:hover{
    background-color: #3e4555;
    color: white;
}


#preview ,#e_content {
    float: left;
    display: inline-block;
}
#editor_vertical_wall{
    box-sizing: border-box;
    float: left;
    background-color: beige;
}
#preview {
    box-sizing: border-box;
    overflow:auto;
    border: 1px solid gray;
}

#editor_body {
    width: 100%;
}

#e_textarea {
    box-sizing: border-box;
    border:1px gray solid;
    padding:0 0px;
    font-size: 16px;
    letter-spacing: 1px;
    resize: none;
    background-color: #f6f6f6;
}

/*引用样式*/
blockquote {
    border-left: 4px solid #dddddd;
    padding: 0 15px;
    color: #777777;
}

/*code代码高亮*/

code, tt {
    margin: 0 2px;
    padding: 0 5px;
    /*注释掉 避免pre.code显示为单行*/
    /*white-space: nowrap;*/
    border: 1px solid #eaeaea;
    background-color: #f8f8f8;
    border-radius: 3px;
}


/*#####################################################*/
/*弹出窗口 css 配置*/

/*窗口弹出时背景div css*/
.win_background{
    /*display: none;*/
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background-color: gray;
}
.transparent_class {
    filter:alpha(opacity=50);
    -moz-opacity:0.5;
    -khtml-opacity: 0.5;
    opacity: 0.3;
}

/*window画布div*/
.window_panel{
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    opacity: 1;
}
/*窗体具体div*/
.window{
    top: 100px;
    margin: 100px auto;
    height: 400px;
    width: 600px;
    /*border: 1px red solid;*/
    background-color: white;
    /*添加阴影*/
    border: none;
    overflow: hidden;
    /*/*/
    box-shadow: 0 5px 15px rgba(0,0,0,.5);

}
/*窗体具体div*/
.little_window{
    top: 100px;
    margin: 100px auto;
    width: 300px;
    /*border: 1px red solid;*/
    background-color: white;
    /*添加阴影*/
    border: none;
    overflow: hidden;
    /*/*/
    box-shadow: 0 5px 15px rgba(0,0,0,.5);

}
/*窗体的头*/
.win_head{
    background-color: #f4f4f4;
    height: 25px;
}
.win_title{
    padding-left: 5px;
    line-height: 25px;
    font-size: 14px;
    float: left;
}
.win_close{
    float: right;
    line-height: 16px;
    width: 16px;
    font-size: 16px;
    text-align: center;
    margin: 3px 3px;
    text-decoration: none;
    color: black;
}
.win_close:hover{
    color: white;
    background-color: #ff8987;
    border-radius: 100%;
}

/*窗体内容 css*/
.win_body{
    padding: 0px 20px;
}
#tag_add_name{
    margin-top: 20px;
    line-height: 20px;
    width: 100%;
}
#tag_add_desc{

    margin-top: 10px;
    width: 100%;
    height: 230px;
    resize: none;
}
button{
    line-height: 20px;
    letter-spacing: 2px;
    border-radius: 5px;
    border:1px black solid;
}
#tag_add_cancel{
    background-color: white;
    margin: 10px 20px;
    float: right;
}
#tag_add_confirm{
    background-color: #4784d8;
    color: white;
    margin: 10px 30px;
    float: right;
}

#tag_add_cancel:hover{
    background-color: #c9c9c9;

}
#tag_add_confirm:hover{
    background-color: #284c7c;
}
#img_dia,#upload_img,#cancel_upload{
    margin: 10px 5px;
}
